GUI Help > Special > setProgressBarPos

setProgressBarPos
setProgressBarPos handle gadget, int position

Description:
Sets the position of a progress bar. For example if the range is 0 to 100 and the position is 50 then the first half of the bar will be filled.

Return Value:


Parameters:
gadget Handle of a progress bar gadget
position The new position of the progress bar
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)